#encoding: UTF-8
'''
Created on 2013年11月12日

@author: xuben
资源区简要数据
'''

class ResourceRegionRoughVO:
    
    #资源区id
    id = 0
    #是否开放
    isOpen = False
    #是否有政务事件
    hasEvent = False
    #政务事件数
    eventNum = 0
    
    def __init__(self, data):
        if 'id' in data:
            self.id = data['id']
        if 'isOpen' in data:
            self.isOpen = data['isOpen']
        if 'hasEvent' in data:
            self.hasEvent = data['hasEvent']
        if 'eventNum' in data:
            self.eventNum = data['eventNum']